package com.probox.common.entity.vo.statistics;

import com.probox.common.core.utils.StringUtils;
import com.probox.common.core.utils.money.MoneyUtils;
import com.tencentcloudapi.live.v20180801.models.ProIspPlayCodeDataInfo;
import lombok.Data;

import java.io.Serializable;

@Data
public class RegistrationConversionVo implements Serializable {

    private String month;

    private Integer count;

    private Integer orderCount;

    private String countProportion;

    public String getCountProportionStr() {
        if (StringUtils.isEmpty(countProportion)) return "0%";
        return MoneyUtils.changeStrPercentage(countProportion);
    }

    private String time;

}
